let arr=[]
let arr1:number[]=[1,2,3]
let arr3:string[]=['1','2','3']
let arr4:boolean[]=[true,false]
let num:number=111
let string:string='字符串'
let bo1:boolean=true
let obj:{
    a:string
}={
    a:'123'
}
let fun=(con:number,con2:number)=>{
       return con+con2
}
let arr5:[number,string,boolean]=[1,'2',true]
let newarr:[number,string,number,string]=[1,'2',3,'4']
newarr.splice(newarr.length-1,1)
console.log(newarr);
let newarr1=[1,2,3]
for(var i=1;i<newarr1.length-1;i++)
{
    newarr1.push(i)
}
console.log(newarr1);
let newarr3=[[1,2,3],[11,22,33]]

let newarr4=[]


for( var x=0;x<newarr3.length-1;x++)
{
    for(var j=0;j<newarr3[x].length-1;j++)
    {
        newarr4.push(newarr3[x][j])
    }
}
console.log(newarr4);

